/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 时间控制Entity
 * @author 李超辉
 * @version 2018-04-11
 */
public class TimeContror extends DataEntity<TimeContror> {
	
	private static final long serialVersionUID = 1L;
	private String pro;		// 项目
	private Date min;		// 最小时间
	private Date max;		// 最大时间
	private Double sorft;		// 调整比例
	private Integer num;		// 附加
	
	public TimeContror() {
		super();
	}

	public TimeContror(String id){
		super(id);
	}

	@ExcelField(title="项目", align=2, sort=0)
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="最小时间", align=2, sort=2)
	public Date getMin() {
		return min;
	}

	public void setMin(Date min) {
		this.min = min;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="最大时间", align=2, sort=3)
	public Date getMax() {
		return max;
	}

	public void setMax(Date max) {
		this.max = max;
	}
	
	@ExcelField(title="调整比例", align=2, sort=4)
	public Double getSorft() {
		return sorft;
	}

	public void setSorft(Double sorft) {
		this.sorft = sorft;
	}
	
	@ExcelField(title="附加", align=2, sort=5)
	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}
	
}